import re

s = """
hello world ha        ha HHz
"""

# p = r'\b[a-zA-Z]+'
p = r'\S+'

res = re.findall(p, s)
print(res)

# list1 = s.split(' ')
# print(list1)